﻿package mortal.game.scene3D.map3D
{

    public class MapNodeType extends Object
    {
        public static const WALK_MIN_VALUE:int = 5;
        public static const FLY_MIN_VALUE:int = 1;

        public function MapNodeType()
        {
            return;
        }// end function

        public static function isFly(param1:int) : Boolean
        {
            return param1 >= FLY_MIN_VALUE || param1 < 0;
        }// end function

        public static function isAttack(param1:int) : Boolean
        {
            return param1 >= 3;
        }// end function

        public static function isWalk(param1:int) : Boolean
        {
            return param1 >= WALK_MIN_VALUE || param1 < 0;
        }// end function

        public static function isAlpha(param1:int) : Boolean
        {
            return param1 == 6;
        }// end function

        public static function isSameServerSafe(param1:int) : Boolean
        {
            return param1 >= 7 && param1 <= 16;
        }// end function

        public static function isAllServerSafe(param1:int) : Boolean
        {
            return isSameServerSafe(param1);
        }// end function

        public static function isSwinArea(param1:int) : Boolean
        {
            return param1 == 7;
        }// end function

    }
}
